export default {
    namespaced: true,
    state: {
        route: [],
        active: "",
    },
    mutations: {
        changeActive(state, active) {
            state.active = active
        },
        addRoute(state, route) {
            state.route.push(route)
        },
        dltRoute(state, index) {
            state.route.splice(index, 1)
        },
    },
}
